package com.hksj.Intelligentmanagement.mqtt.command;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;

@Data
public class Msg<T> implements Serializable {
    @JSONField(ordinal = 1)
    private String pkt_type = "command";
    @JSONField(ordinal = 2)
    private String gw_addr = "ffffffffffff";
    @JSONField(ordinal = 3)
    private String time;
    @JSONField(ordinal = 4)
    private T data;
}
